$OpenBSD: patch-kdecore_util_krandomsequence_cpp,v 1.1 2013/12/08 19:13:32 zhuk Exp $
More correct implementation of random() & Co., using arc4random().
--- kdecore/util/krandomsequence.cpp.orig	Wed Oct 16 10:44:04 2013
+++ kdecore/util/krandomsequence.cpp	Wed Oct 16 10:48:55 2013
@@ -80,7 +80,7 @@ void KRandomSequence::setSeed( long lngSeed1 )
   }
   else if (lngSeed1 == 0)
   {
-    d->lngSeed1 = -((KRandom::random() & ~1)+1);
+    d->lngSeed1 = -((long)(KRandom::random32() | 1));
   }
   else
   {
